package com.gzbsoft.sc.modules.sys.entity;
import io.ebean.annotation.DbComment;
import io.ebean.annotation.DocStore;
import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 系统验证码
 *
 * @author Mark sunlightcs@gmail.com
 */
@DocStore
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Table(name = "sys_captcha")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@DbComment("后台系统验证码")
public class SysCaptcha extends BaseEntity {
    private String uuid;
    /**
     * 验证码
     */
    private String code;
    /**
     * 过期时间
     */
    private Date expireTime;
}
